/**
 * 基础路由
 * @type { *[] }
 */
export const constantRouterMap = [
  {
    path: '/',
    component: () => import('@/views/layouts/index'),
    redirect: '/blueTooth',
    meta: {
      title: '首页',
      keepAlive: false
    },
    children: [
      // 蓝牙扫面页面
      {
        path: '/blueTooth',
        name: 'blueTooth',
        component: () => import('@/views/blueToothPrint/index'),
        meta: { title: '蓝牙打印', keepAlive: false }
      },
      {
        path: '/slice',
        name: 'slice',
        component: () => import('@/views/slice/sliceIssued'),
        meta: { title: '切片下发', keepAlive: false }
      },
      {
        path: '/slice/create',
        name: 'sliceCreate',
        component: () => import('@/views/slice/sliceCreated.vue'),
        meta: { title: '创建结果', keepAlive: false }
      },
      {
        path: '/slice/creating',
        name: 'sliceCreating',
        component: () => import('@/views/slice/sliceCreating.vue'),
        meta: { title: '切片创建', keepAlive: false }
      }
    ]
  }
]
